package com.onlineshop.highgee.dao;

import java.util.List;

import com.onlineshop.highgee.exception.UserDaoException;
import com.onlineshop.highgee.entity.User;



/**
*
*@ClassName:UserDao
*
*@Description:TODO �û��ӿ�   ���  ����  ɾ��  ��ѯ����  ��ѯname��password
*
*@author:20152 LuLong
*
*@date:2019��12��20��
*
*/
public interface UserDao {
	void addUser(User user) throws UserDaoException;

	void updateUser(User user) throws UserDaoException;

	// ��̨ ͣ��
	void deleteUser(User user) throws UserDaoException;

	List<User> findAll() throws UserDaoException;

	User findByNameAndPassword(String name, String passwprd);
}
